# Copyright 2009 Lee Harr
#
# This file is part of Acromania.
#
# Acromania is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Acromania is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Acromania.  If not, see <http://www.gnu.org/licenses/>.


# Files
dbname = 'acrodb'
wordsdb = 'words'
dict = '/usr/share/dict/words'
fortune = '/usr/games/fortune'      # set to '' to disable fortunes


# Players
min_players = 3
max_players = 0     # 0 means unlimited     # UNUSED


# Points
points_to_win_game = 30
points_per_vote = 1
points_for_speed = 2
points_for_most_votes = 3
points_for_voting_for_most_popular = 1
points_for_only_acro = 2
points_for_only_acro_per_opponent = 1


# Times (in seconds)
acroing_phase_time = 90

voting_phase_time_min = 30
voting_phase_time_per_acro = 7
voting_phase_time_per_acroword = 1.4

between_rounds_time = 30

between_game_message_freq = 45


# Acros
acro_length_average = 5.1
acro_length_stddev = 1.3
letterweights = {
    'A': 64,
    'B': 59,
    'C': 85,
    'D': 50,
    'E': 35,
    'F': 38,
    'G': 34,
    'H': 34,
    'I': 29,
    'J': 10,
    'K': 13,
    'L': 32,
    'M': 53,
    'N': 21,
    'O': 28,
    'P': 76,
    'Q': 5,
    'R': 49,
    'S': 109,
    'T': 54,
    'U': 38,
    'V': 16,
    'W': 24,
    'X': 1,
    'Y': 4,
    'Z': 3,
}


# IRC
ircbot_enabled = True
irc_server = 'localhost'
botnick = 'acrobot'
channels = ['#acro', '#acromania', '#acrobot']


# Standalone server
standalone_enabled = True
standalone_port = 9876
